<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
  </head>
  <body>
      <div id="navi">
          <?php if($sf_user->isAuthenticated()): ?>
          <a href="<?php echo url_for('@sf_guard_signout') ?>">Wyloguj się</a>
          <?php else: ?>
          <a href="<?php echo url_for('@sf_guard_signin') ?>">Zaloguj się</a> lub
          <a href="<?php echo url_for('@create_profile') ?>">załóż konto</a>          
          <?php endif; ?>

      </div>
      <div id="wrapper">          
          <?php echo $sf_content ?>
      </div>
  </body>
</html>
